package string;

/**
 *
 */
public class StringStringBuilderDemo {
    public static void main(String[] args) {
        //String不适合频繁修改内容
StringBuilder builder = new StringBuilder("a");
        for (int i = 0; i <100000 ; i++) {
            builder.append(i+"\n") ;
        }
        System.out.println(builder);
        System.out.println("执行完毕");
    }
}
